package org.ceva.training.persistence.bo;


import java.util.Date;
import java.util.Set;


public class Course  implements	java.io.Serializable {

	// Constructors

	private long courseid;
	
	private long maxTrainee;
	
	private String courseName;

	private String topic;
	
	private User trainer;
	
	private Set courseDocuments;
	
	private CourseDetails courseDetails;

	public Set getCourseDocuments() {
		return courseDocuments;
	}

	public void setCourseDocuments(Set courseDocuments) {
		this.courseDocuments = courseDocuments;
	}

	public long getCourseid() {
		return courseid;
	}

	public void setCourseid(long courseid) {
		this.courseid = courseid;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public String getTopic() {
		return topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}

	public User getTrainer() {
		return trainer;
	}

	public void setTrainer(User trainer) {
		this.trainer = trainer;
	}

	public long getMaxTrainee() {
		return maxTrainee;
	}

	public void setMaxTrainee(long maxTrainee) {
		this.maxTrainee = maxTrainee;
	}

	public CourseDetails getCourseDetails() {
		return courseDetails;
	}

	public void setCourseDetails(CourseDetails courseDetails) {
		this.courseDetails = courseDetails;
	}

	@Override
	public String toString() {
		return courseName;
	}
}
